package xyz.csmcool.imgateway;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author 什锦
 * @Package xyz.csmcool.imgateway
 * @since 2022/9/8 10:10
 */
@ComponentScan({"xyz.csmcool"})
@EnableSwagger2
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@EnableFeignClients
@EnableHystrix
public class ImgatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ImgatewayApplication.class, args);
    }
}
